getAbsoluteGravity
Convert script specific gravity to absolute horizontal value.
if horizontal direction is LTR, then START will set LEFT and END will set RIGHT. if horizontal direction is RTL, then START will set RIGHT and END will set LEFT.Return
gravity converted to absolute (horizontal) values.
Parameters
gravity
The gravity to convert to absolute (horizontal) values.
layoutDirection
The layout direction.